package com.brillilab.dao.mapper.space;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brillilab.domain.po.space.BoxGrid;
import com.brillilab.domain.vo.space.BoxGridWithReagentType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wuzhiyu
 * @Title: BoxGridMapper
 * @ProjectName brill_lab
 * @Description: TODO
 * @date 2018/11/1515:53
 */
public interface BoxGridMapper extends BaseMapper<BoxGrid> {
    Integer insertList(List<BoxGrid> list);
    List<BoxGridWithReagentType> getBoxGridWithReagentTypeList(@Param("labId")Long labId,@Param("zone")Integer zone,@Param("size")Integer size,@Param("offset")Integer offset);
    Integer getBoxGridWithReagentTypeListCount(@Param("labId")Long labId,@Param("zone")Integer zone);
    Integer updateBoxGridFill(@Param("idList") List<Long> idList,@Param("state") Integer state);
}
